name: pre-commit run_id: commands[0] env HOME: /home/jenkins env LANG: C.UTF-8 env PATH: /w/workspace/bgpcep-tox-verify-master/.tox/pre-commit/bin:/opt/pyenv/bin:/tmp/venv-z1qv/bin:/opt/pyenv/shims:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin env PIP_DISABLE_PIP_VERSION_CHECK: 1 env PIP_USER: 0 env PYTHONHASHSEED: 3664377849 env PYTHONIOENCODING: utf-8 env SSH_AUTH_SOCK: ******************************** env TOX_ENV_DIR: /w/workspace/bgpcep-tox-verify-master/.tox/pre-commit env TOX_ENV_NAME: pre-commit env TOX_WORK_DIR: /w/workspace/bgpcep-tox-verify-master/.tox env VIRTUAL_ENV: /w/workspace/bgpcep-tox-verify-master/.tox/pre-commit env __TOX_ENVIRONMENT_VARIABLE_ORIGINAL_CI: true metadata pid: 3694 cwd: /w/workspace/bgpcep-tox-verify-master allow: /w/workspace/bgpcep-tox-verify-master/.tox/pre-commit/bin/* cmd: pre-commit run --all-files --show-diff-on-failure exit_code: 1 [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks. [INFO] Initializing environment for https://github.com/Lucas-C/pre-commit-hooks. [INFO] Initializing environment for https://github.com/shellcheck-py/shellcheck-py. [INFO] Initializing environment for https://github.com/pre-commit/mirrors-prettier. [INFO] Initializing environment for https://github.com/pre-commit/mirrors-prettier:prettier@4.0.0-alpha.8. [INFO] Initializing environment for https://github.com/adrienverge/yamllint. [INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/Lucas-C/pre-commit-hooks. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/shellcheck-py/shellcheck-py. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/pre-commit/mirrors-prettier. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/adrienverge/yamllint. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... trim trailing whitespace.................................................Passed fix end of files.........................................................Passed check yaml...............................................................Passed check xml............................................(no files to check)Skipped check json...........................................(no files to check)Skipped check for added large files..............................................Passed check for merge conflicts................................................Passed check for case conflicts.................................................Passed mixed line ending........................................................Passed Tabs remover.............................................................Passed shellcheck...............................................................Failed - hook id: shellcheck - exit code: 1 In tests/tools/pcep_updater/mock.sh line 17: for i in {1..3} ^-^ SC2034 (warning): i appears unused. Verify use (or export if used externally). ^----^ SC3009 (warning): In POSIX sh, brace expansion is undefined. In tests/tools/pcep_updater/mock.sh line 23: echo "PCC MOCK Process id for $a iteration is $process_id" ^-- SC2154 (warning): a is referenced but not assigned. For more information: https://www.shellcheck.net/wiki/SC2034 -- i appears unused. Verify use (or ... https://www.shellcheck.net/wiki/SC2154 -- a is referenced but not assigned. https://www.shellcheck.net/wiki/SC3009 -- In POSIX sh, brace expansion is u... prettier.................................................................Failed - hook id: prettier - files were modified by this hook .github/workflows/github2gerrit.yaml INFO.yaml README.md yamllint.................................................................Passed pre-commit hook(s) made changes. If you are seeing this message in CI, reproduce locally with: `pre-commit run --all-files`. To run `pre-commit` as part of git workflow, use `pre-commit install`. All changes made by hooks: diff --git a/.github/workflows/github2gerrit.yaml b/.github/workflows/github2gerrit.yaml index 8e37a28436..42263064d8 100644 --- a/.github/workflows/github2gerrit.yaml +++ b/.github/workflows/github2gerrit.yaml @@ -6,27 +6,27 @@ name: call-github2gerrit-reusable-workflow # yamllint disable-line rule:truthy on: - workflow_dispatch: - pull_request_target: - types: [opened, reopened, edited, synchronize] - branches: - - master + workflow_dispatch: + pull_request_target: + types: [opened, reopened, edited, synchronize] + branches: + - master concurrency: - # yamllint disable-line rule:line-length - group: ${{ github.workflow }}-${{ github.run_id }} - cancel-in-progress: true + # yamllint disable-line rule:line-length + group: ${{ github.workflow }}-${{ github.run_id }} + cancel-in-progress: true jobs: - call-in-g2g-workflow: - permissions: - contents: read - pull-requests: write - uses: lfit/github2gerrit/.github/workflows/github2gerrit.yaml@main - with: - GERRIT_KNOWN_HOSTS: ${{ vars.GERRIT_KNOWN_HOSTS }} - GERRIT_SSH_USER_G2G: ${{ vars.GERRIT_SSH_USER_G2G }} - GERRIT_SSH_USER_G2G_EMAIL: ${{ vars.GERRIT_SSH_USER_G2G_EMAIL }} - ORGANIZATION: ${{ vars.ORGANIZATION }} - secrets: - GERRIT_SSH_PRIVKEY_G2G: ${{ secrets.GERRIT_SSH_PRIVKEY_G2G }} + call-in-g2g-workflow: + permissions: + contents: read + pull-requests: write + uses: lfit/github2gerrit/.github/workflows/github2gerrit.yaml@main + with: + GERRIT_KNOWN_HOSTS: ${{ vars.GERRIT_KNOWN_HOSTS }} + GERRIT_SSH_USER_G2G: ${{ vars.GERRIT_SSH_USER_G2G }} + GERRIT_SSH_USER_G2G_EMAIL: ${{ vars.GERRIT_SSH_USER_G2G_EMAIL }} + ORGANIZATION: ${{ vars.ORGANIZATION }} + secrets: + GERRIT_SSH_PRIVKEY_G2G: ${{ secrets.GERRIT_SSH_PRIVKEY_G2G }} diff --git a/INFO.yaml b/INFO.yaml index 136e508d44..b9bb9e397b 100644 --- a/INFO.yaml +++ b/INFO.yaml @@ -1,67 +1,67 @@ --- -project: 'bgpcep' -project_creation_date: '2013-07-18' -project_category: '' -lifecycle_state: 'Incubation' +project: "bgpcep" +project_creation_date: "2013-07-18" +project_category: "" +lifecycle_state: "Incubation" project_lead: &odl_bgpcep_ptl - name: 'Robert Varga' - email: 'nite@hq.sk' - company: '' - id: 'rovarga' - timezone: 'Unknown/Unknown' + name: "Robert Varga" + email: "nite@hq.sk" + company: "" + id: "rovarga" + timezone: "Unknown/Unknown" primary_contact: *odl_bgpcep_ptl issue_tracking: - type: 'jira' - url: 'https://jira.opendaylight.org/projects/' - key: 'bgpcep' + type: "jira" + url: "https://jira.opendaylight.org/projects/" + key: "bgpcep" mailing_list: - type: 'groups.io' - url: 'app-dev@lists.opendaylight.org' - tag: '[]' + type: "groups.io" + url: "app-dev@lists.opendaylight.org" + tag: "[]" realtime_discussion: - type: 'irc' - server: 'freenode.net' - channel: '#opendaylight' + type: "irc" + server: "freenode.net" + channel: "#opendaylight" meetings: - - type: 'zoom' - agenda: '' - url: 'https://zoom.us/j/185572371' - server: 'zoom.us' - number: '185572371' - repeats: 'Alternative Thursdays' - time: '08:30pm to 09:00pm PST' + - type: "zoom" + agenda: "" + url: "https://zoom.us/j/185572371" + server: "zoom.us" + number: "185572371" + repeats: "Alternative Thursdays" + time: "08:30pm to 09:00pm PST" repositories: - - bgpcep + - bgpcep committers: - - <<: *odl_bgpcep_ptl - - name: 'Claudio David Gasparini' - email: 'claudio.gasparini@pantheon.tech' - company: 'pantheon' - id: 'cdgasparini' - timezone: 'Unknown/Unknown' - - name: 'Dana Kutenicsova' - email: 'dkutenicsova@frinx.io' - company: 'frinx' - id: 'dkutenicsova' - timezone: 'Unknown/Unknown' - - name: 'Ajay Lele' - email: 'ajayslele@gmail.com' - company: 'VMware' - id: 'ajayslele' - timezone: 'America/Los Angeles' - - name: 'Olivier Dugeon' - email: 'olivier.dugeon@orange.com' - company: 'Orange' - id: 'odd22' - timezone: 'CET/UTC+2' + - <<: *odl_bgpcep_ptl + - name: "Claudio David Gasparini" + email: "claudio.gasparini@pantheon.tech" + company: "pantheon" + id: "cdgasparini" + timezone: "Unknown/Unknown" + - name: "Dana Kutenicsova" + email: "dkutenicsova@frinx.io" + company: "frinx" + id: "dkutenicsova" + timezone: "Unknown/Unknown" + - name: "Ajay Lele" + email: "ajayslele@gmail.com" + company: "VMware" + id: "ajayslele" + timezone: "America/Los Angeles" + - name: "Olivier Dugeon" + email: "olivier.dugeon@orange.com" + company: "Orange" + id: "odd22" + timezone: "CET/UTC+2" tsc: - # yamllint disable rule:line-length - approval: '' - changes: - - type: 'Approval' - name: 'TSC Vote' - link: 'https://wiki.opendaylight.org/display/ODL/BGPCEP+Committer+Approval' - - type: 'Approval' - name: 'Committer Approval' - link: 'https://lists.opendaylight.org/g/app-dev/topic/72808144#353' + # yamllint disable rule:line-length + approval: "" + changes: + - type: "Approval" + name: "TSC Vote" + link: "https://wiki.opendaylight.org/display/ODL/BGPCEP+Committer+Approval" + - type: "Approval" + name: "Committer Approval" + link: "https://lists.opendaylight.org/g/app-dev/topic/72808144#353" diff --git a/README.md b/README.md index 2b8ccd60a7..4458e875a3 100644 --- a/README.md +++ b/README.md @@ -22,20 +22,20 @@ into the underlying network. ## DIRECTORY ORGANIZATION -* concepts: - * Common networking concepts, shared between the protocols +- concepts: + - Common networking concepts, shared between the protocols -* util: - * Common utility classes +- util: + - Common utility classes -* bgp: - * BGP-related artifacts +- bgp: + - BGP-related artifacts -* pcep: - * PCEP-related artifacts +- pcep: + - PCEP-related artifacts -* rsvp: - * RSVP modeling concepts (needed by pcep) +- rsvp: + - RSVP modeling concepts (needed by pcep) ## HOW TO BUILD